package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description: 用户部门
 * @author: jeecg-boot
 */
@Data
@TableName("sys_user_region")
public class SysUserRegion implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键id*/
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**用户id*/
    private String userId;
    /**区域id*/
    private String regionId;
    /**区域code*/
    private String regionCode;
    public SysUserRegion(String id, String userId, String regionId,String regionCode) {
        super();
        this.id = id;
        this.userId = userId;
        this.regionId = regionId;
        this.regionCode=regionCode;
    }

    public SysUserRegion(String id, String regionId,String regionCode) {
        this.userId = id;
        this.regionId = regionId;
        this.regionCode=regionCode;
    }
}
